package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 项目问题对象 project_issue
 * 
 * @author ruoyi
 * @date 2021-01-07
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class ProjectIssue extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long issId;

    /** 所属年度 */
    private String issYear;

    /** 所属月份 */
    @Excel(name = "所属月度")
    @JsonFormat(pattern = "MM")
    private Date issMouth;

    @JsonFormat(pattern = "yyyy-MM")
    private Date issdate;


    /** 问题描述 */
    @Excel(name = "问题描述")
    private String issDescribe;

    /** 解决时限 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "解决时限", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date issSolveDate;

    /** 状态 */
    @Excel(name = "状态")
    private String issState;

    /** 录入用户 */
    @Excel(name = "录入用户")
    private Long userId;

    /** 录入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "录入时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date issCreateTime;

    /** 项目外键 */
    @Excel(name = "项目外键")
    private Long proId;
    //最近修改人
    private String nickName;
    //创建人
    private String createUserName;
    //项目名称
    private String proName;

    private int deptId;

    @Override
    public String toString() {
        return "ProjectIssue{" +
                "issId=" + issId +
                ", issYear='" + issYear + '\'' +
                ", issMouth=" + issMouth +
                ", issdate=" + issdate +
                ", issDescribe='" + issDescribe + '\'' +
                ", issSolveDate=" + issSolveDate +
                ", issState='" + issState + '\'' +
                ", userId=" + userId +
                ", issCreateTime=" + issCreateTime +
                ", proId=" + proId +
                ", nickName='" + nickName + '\'' +
                ", createUserName='" + createUserName + '\'' +
                ", proName='" + proName + '\'' +
                ", deptId=" + deptId +
                '}';
    }

    public Long getIssId() {
        return issId;
    }

    public void setIssId(Long issId) {
        this.issId = issId;
    }

    public String getIssYear() {
        return issYear;
    }

    public void setIssYear(String issYear) {
        this.issYear = issYear;
    }

    public Date getIssMouth() {
        return issMouth;
    }

    public void setIssMouth(Date issMouth) {
        this.issMouth = issMouth;
    }

    public Date getIssdate() {
        return issdate;
    }

    public void setIssdate(Date issdate) {
        this.issdate = issdate;
    }

    public String getIssDescribe() {
        return issDescribe;
    }

    public void setIssDescribe(String issDescribe) {
        this.issDescribe = issDescribe;
    }

    public Date getIssSolveDate() {
        return issSolveDate;
    }

    public void setIssSolveDate(Date issSolveDate) {
        this.issSolveDate = issSolveDate;
    }

    public String getIssState() {
        return issState;
    }

    public void setIssState(String issState) {
        this.issState = issState;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getIssCreateTime() {
        return issCreateTime;
    }

    public void setIssCreateTime(Date issCreateTime) {
        this.issCreateTime = issCreateTime;
    }

    public Long getProId() {
        return proId;
    }

    public void setProId(Long proId) {
        this.proId = proId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public int getDeptId() {
        return deptId;
    }

    public void setDeptId(int deptId) {
        this.deptId = deptId;
    }
}
